@extends('public.father')

@section('content')
    <form action="{{route('blog.update',$blog)}}" method="post">
        @csrf
        @method('PUT')
        <div class="card">
            <div class="card-header" style="text-align: center">
                <h5>博客发布</h5>
            </div>
            <div class="card-body">
                <div class="form-group">
                    <label><h5>博客内容 :</h5></label>
                    <textarea class="form-control" name="content" rows="10">{{$blog['content']}}</textarea>
                </div>

            </div>
            <div class="card-footer text-muted">
                <button type="submit" class="btn btn-primary">立即发布</button>
            </div>
        </div>
    </form>
@endsection